package com.lqwu.mallchatserver.common.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @Description:发送消息的事件
 * @Author: lqwu
 */
@Getter
public class MessageSendEvent extends ApplicationEvent {
    /**
     * 消息id
     */
    private Long msgId;

    public MessageSendEvent(Object source,Long msgId) {
        super(source);
        this.msgId = msgId;
    }
}
